From: Colin Walters Date: Tue, 29 Apr 2014 13:00:21 +0000 (-0400) Subject: pull: Stay in mainloop if we're synchronously fetching URI X-Git-Tag: archive/raspbian/2022.1-3+rpi1~1^2~1207 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=626fc8519ba6251690c125de1f2a5ffc068550c3;p=ostree.git pull: Stay in mainloop if we're synchronously fetching URI The static deltas work will be doing some synchronous fetching even after refs are downloaded. --- diff --git a/src/libostree/ostree-repo-pull.c b/src/libostree/ostree-repo-pull.c index 363c2fef..0d9eaf8b 100644 --- a/src/libostree/ostree-repo-pull.c +++ b/src/libostree/ostree-repo-pull.c @@ -203,7 +203,7 @@ check_outstanding_requests_handle_error (OtPullData *pull_data, g_main_loop_quit (pull_data->loop); break; case OSTREE_PULL_PHASE_FETCHING_OBJECTS: - if (current_idle) + if (current_idle && !pull_data->fetching_sync_uri) { g_debug ("pull: idle, exiting mainloop");